<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title th:replace="${title}">博客详情</title>
    <link href="../../static/images/avatar.jpg" th:href="@{/images/avatar.jpg}" rel="icon" type="image/x-ico">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../../static/lib/editormd/css/editormd.min.css" th:href="@{/lib/editormd/css/editormd.min.css}">
    <link rel="stylesheet" href="../../static/css/myStyle.css" th:href="@{/css/myStyle.css}">
</head>
<body>

<!--导航-->
<nav id="nav" th:fragment="menu(n)" class="ui inverted attached m-padded-tb-mini">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item" style="font-family: STSong">后台管理</h2>
            <!--<div class="right m-item item m-mobile-hide">-->
            <a href="" th:href="@{/admin/blogs}" class="m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="home icon"></i>博客</a>
            <a href="" th:href="@{/admin/types}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="clone outline icon"></i>分类</a>
            <a href="" th:href="@{/admin/tags}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="tags icon"></i>标签</a>
            <!--</div>-->
            <div class="right m-item m-mobile-hide menu">
                <div class="ui dropdown item">
                    <div class="text">
                        <img src="../../static/images/avatar.jpg" th:src="@{/images/avatar.jpg}" class="ui avatar image">
                        LENSTAR
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu m-opacity">
                        <a href="#" th:href="@{/admin/logout}" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle button m-right-top m-mobile-show"
       style="background-color: rgba(0,0,0,0); color: gainsboro">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!--底部栏-->
<footer th:fragment="footer" class="ui inverted vertical m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="four wide column">
                <img src="../static/images/wechat.jpg" th:src="@{/images/wechat.jpg}" alt="" style="width: 100px;">
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header m-text-spaced m-text-thin">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="" class="item">Java（User Story）</a>
                    <a href="" class="item">Linux（User Story）</a>
                    <a href="" class="item">Redis（User Story）</a>
                </div>
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header m-text-spaced m-text-thin">联系我</h4>
                <div class="ui inverted link list">
                    <a href="" class="item">邮箱：XX181028@163.com</a>
                    <a href="" class="item">QQ：1412265423</a>
                </div>
            </div>
            <div class="four wide column">
                <h4 class="ui inverted header m-text-spaced m-text-thin">LENSTAR</h4>
                <p class="m-text-spaced m-text-thin m-opacity-mini" style="color: gainsboro">
                    这是我的个人博客，会分享我所学到的任何知识，希望和大家一起共同进步.....
                </p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="m-text-spaced m-text-thin m-opacity-mini" style="color: gainsboro">
            Copyright © 2020-2021 LENSTAR Designed by LENSTAR
        </p>
    </div>
</footer>

</body>
</html>